package cx.v1.util;

import org.bouncycastle.openssl.PasswordFinder;

public class Password implements PasswordFinder
{
    private char[] pwd;
    public Password(String pwd) 
    {
        if(pwd != null) 
        {
            this.pwd = pwd.toCharArray();
        }
    }

    public char[] getPassword() 
    {
        return pwd;
    }
}